import { App } from "vue";
import Button from "./Button";
import Link from "./Link";
import Menus from "./Menus";

const components = [Button, Link, Menus];
const install = (Vue: App): void => {
  components.map(component => {
    Vue.component(component.name, component);
  });
};

export default {
  install,
  ...components,
};
